<?php
namespace App\Request;

use App\Request\Request;

class ProductRequest extends Request
{
    // 规则
    public function rules(): array
    {
        return [
            'level_id'    => 'required',
            'name'        => 'required',
            'images'      => 'required|array',
            'money'       => 'required',
            'content'     => 'required'
        ];
    }
}